import cartago.*;

public class SomeGarbageArt extends Artifact {
	void init(int initialValue) {
		/*
		 * Se type = 0 -> lixo sólido
		 * Se type = 1 -> lixo líquido
		 */
		defineObsProperty("type", initialValue);
	}
	
	@OPERATION
	void inc() {
		ObsProperty prop = getObsProperty("type");
		//prop.updateValue(prop.intValue()+1);
		
		
		signal("tick");
	}
}

